package com.qikux.service;

import com.qikux.entity.User;
import com.qikux.vo.Page;
import com.qikux.vo.ResultVo;

import java.util.Map;

public interface MessageService {
    ResultVo<String> queryAllNotifiMsgOfUser(User user);

    ResultVo<String> queryBlackStatus(Long id, Long resUserId);

    ResultVo<Map<String, Object>> sendMsg(Long sendid, String recvid, String message) ;

    /**
     * 用户私信列表
     * @param id
     * @param pageBean
     * @return
     */
    ResultVo<Page<Map<String, Object>>> queryMsgList(int id, Page<Map<String, Object>> pageBean);

    ResultVo<Map<String, Object>> queryUserMsg(Long sendid, int reviceid);

    ResultVo<Map<String, Object>> blackUser(Long sendid, int bid);

    ResultVo<Map<String, Object>> querymyBlack(Long sendid, Page<Map<String, Object>> pageBean);

    ResultVo<Map<String, Object>> removeBlack(Long sendid, int reb);

    ResultVo<Map<String, Object>> queryunRead(Long sendid);

    ResultVo<Map<String, Object>> upreaded(Long sendid, int upid);

    ResultVo<String> queryAllAnnouncementMsg();
}
